package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.exception.MenuException;
import com.itheima.pojo.Address;
import com.itheima.pojo.Menu;

import java.util.List;

public interface AddressService {
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);
    public void add(Address address);
    public void edit(Address address);
    public Address findById(Integer id);
    public List<Address> findAll();
    public void delete(Integer id);
}
